package com.ydlclass;

public class ServiceConfig<T> {

    // 服务提供接口
    private Class<?> interfaceProvider;
    // 具体实现
    private Object ref;

    private String group = "default";

    public Class<?> getInterface() {
        return interfaceProvider;
    }

    public void setInterface(Class<?> interfaceProvider) {
        this.interfaceProvider = interfaceProvider;
    }

    public Object getRef() {
        return ref;
    }

    public void setRef(Object ref) {
        this.ref = ref;
    }


    public void setGroup(String group) {
        this.group = group;
    }

    public String getGroup(){
        return group;
    }

}
